<html>
<head>
<title>Data Mahasiswa</title>
</head>
<body>
<table border="1">
<tr>
	<td>Nim</td>
	<td>Nama</td>
	<td>Jurusan</td>
	<td>Alamat</td>
</tr>
	<?php foreach ($data as $row) { ?>
	<tr>
	
		<td><?php echo $row->nim; ?> </td>
		<td><?php echo $row->nama; ?> </td>
		<td><?php echo $row->jurusan; ?> </td>
		<td><?php echo $row->alamat; ?> </td>
	</tr>
	<?php } ?>
</table>
</body>
</html>